X-Git-Url: https://shimmer.witbreuk.eu/gitweb/UltimateKEYS.git/blobdiff_plain/1f96b29f3e6ce25f3b7bec185959ec061e6251c6..19142674b9b85d74dc4b3ceddf339c4386a8a6cc:/autohotkey/UltimateKEYS%20(for%20AutoHotkey%20v1.1).ahk diff --git a/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk b/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk index d6aae51..1427b2b 100644 --- a/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk +++ b/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk @@ -1,6 +1,6 @@ #requires AutoHotkey v1.1 -; UltimateKEYS (for AutoHotkey v1.1).ahk - 2025-01-29 +; UltimateKEYS (for AutoHotkey v1.1).ahk - 2025-02-06 ; Website : https://pieter-degroote.github.io/UltimateKEYS/ @@ -21,10 +21,12 @@ ListLines Off ; omits recently executed lines from history (for privacy and se SendMode Input ; optimizes for faster and more reliable input +global gEndKeys := "{bs}{esc}" ; ends dead key input on Backspace or Escape + ; Compose Key Sequences (declaration) -compose := ComObjCreate("Scripting.Dictionary") +global compose := ComObjCreate("Scripting.Dictionary") ; Compose : Acute Accent @@ -1832,7 +1834,7 @@ compose.item["?U"] := "{u+1ef0}" ; (á»°) U with horn and dot below >!sc056:: ; Right Alt + ISO Key <^>!sc029:: ; AltGr + Grave Accent <^>!sc056:: ; AltGr + ISO Key - keys := InputHook("L2", "{esc}") + keys := InputHook("L2", gEndKeys) keys.Start() keys.Wait() Send % compose.item[keys.Input]